package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 陈忠杰
 * @Date: 2021/07/02/下午8:35
 * @Description:
 */
@Controller
public class ShowBackHomeController {
    @RequestMapping("show_back_home.do")
    public ModelAndView jump01(String login_name){
        System.out.println(login_name);
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.addObject("user_name",login_name);
        modelAndView.setViewName("/background/back_Home");
        return modelAndView;
    }
}
